package org.apache.ibatis;

/**
 * @Author com.alibaba.lizhen
 * @Date 2021/3/9 10:08 下午
 * @Version 1.0
 * @Description 设计模式链接
 */
public enum DesignPatterns {
    NULL("", ""),
    BUILDER("建造者模式", "https://www.cnblogs.com/of-fanruice/p/11565679.html"),
    CHAIN("责任链模式", "https://www.jianshu.com/p/9f7d9775bdda , https://blog.csdn.net/woshiqiuxiaoyan/article/details/88567014"),
    DECORATOR("装饰者","https://www.runoob.com/design-pattern/decorator-pattern.html"),
    ;
    private final String name;
    private final String URL;

    DesignPatterns(String name, String URL) {
        this.name = name;
        this.URL = URL;
    }

    public String getName() {
        return name;
    }

    public String getURL() {
        return URL;
    }

}
